package org.bringer.dao;

import java.util.List;

import org.bringer.model.Account;
import org.bringer.model.User;

/**
 * User Data Access Object (GenericDao) interface.
 *
 * @author <a href="mailto:danalonsos@gmail.com">Daniel Alonso</a>
 */
public interface AccountDao extends GenericDao<Account, Long> {

	  List<Account> getAccountsByDescription(String desc);
	  Account getAccountByIban(String iban);
	  List<Account> getAccountsByUser(User user);
	  void removeByIban(String iban);
}
